import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './assets/css/global.css'
import store from '../src/store/index'

// 引入element-uiimport Vue from 'vue';
import Element from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import TreeTable from 'vue-table-with-tree-grid'
Vue.use(Element);
//引入全局message

Vue.prototype.$message = Element.Message

//引入axios
import axios from '../src/api/index'

Vue.prototype.$http = axios

Vue.config.productionTip = false

Vue.component('tree-table',TreeTable)

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
